make script fail on error