Use a constant for command not found code 59

Instead of checking for the integer 59 in the code directly, use a constant for the "command not found" error.