Add PATH variable to upgrade.sh