Added Fail on error env