Add exit on error option to run