added sudo test, added software restoration steps for post upgrade