Added a better exit code