added verbose error handling to run