Make script exit on error