added the submit script