fail script on errors