Adding exit codes