All of the following scripts can be found on the head node under: /usr/local/sge_templates/
If you are modifying any of the scripts, check for syntax errors before submitting a job.
> sh -n script.sh