Updated the upgrade script as requested . Removed the checks for debugger status and third-party K2 plugins.