Added the ability to write the bash script when submit is omitted