Updating scripts to detect errors, and exit