adding exit_code_on_error to execute