Download this repo and add submitgen.py to your path in the project you are using.
Then type python submitgen.py help for instructions on how to use the submit script.
Once you use submitgen.py to generate a submit script, use the proper bash command on the cluster you are using to submit it. If you are on yeti, then run sbatch submitscript.sh and if on habanero then qsub submitscript.sh.
You can add things to your path by appending export PATH="PATH:new/path to the bottom of your .bashrc file and then running source ~/.bashrc to reload your bashrc and add to path