Upgrading versions and scripting