WIP: Submission script

"run submit clock step0 ." returns a 502 error. Need to debug.