some changes and feutures in submit.py
Merge pull request #4016 from qunox/newSubmit

some changes and feutures in submit.py