Upgrade script changes.