Updated the plugin so that it runs the 3.1 pre-update scripts.