Revert all the changes in the submission scripts

New PR's will take care of these. This PR handles only inline scripts