Create script for automatically making required model changes required for onnx export to be successful and then serialize to disk.