Corrected version-upgrade-script.