Added exit status
Merge https://github.com/manuella/submissionScriptCSC261