Modify deployment script so that the entire script will fail if any command in it fails.