Add ability to exit with different status codes