Rename opt_functions.py to nonmainprograms/opt_functions.py