Add upgrade.sh script