added more options to submit.py