add the if statement to judge the submit and skip options
Merge pull request #6 from chenkaiC4/OpeSys_submit

add the if statement to judge the submit and skip options