Create upgrade.sh

Not tested, should work.