Ugrade.sh bug correction