Currently the script will only exit with 1. add additional and distinct exit codes based on what went wrong.
Currently the script will only exit with 1. add additional and distinct exit codes based on what went wrong.