fix quotes around template
minor fixes to submit script