Moved to python file for submit setup.