I\'m using a switch/case statement to handle some updates for a deployed application. Basically, I want to waterfall through the cases to perform the update from the current run
You don't have a break in your case "1" branch.
break
case "1"