Program should exit with nonzero code for scripting

1 is better than zero.
Merge pull request #2 from nickcampbell18/master

Program should exit with nonzero code for scripting