Updated the plugin so that it runs the 3.1 pre-update scripts.
Small typo fixes and added some needed paramaters.
Updated Version 1.1