* upgrade.sh modified for remote installations