Port upgrade.sh