modified exit codes to be caught by watchdog