fix indentation
Use an enum for the script failure behavior argument, rather than int.