Upgrade reset script.