Changed exit codes to be shell correct