can now turn error handling on and off in same script as needed