Upgrading the script.