Have scripts automatically exit if fails at one point