Exit with error on script fail