cleaned up exit codes