exit if any of the commands fail