Upgraded the plugin code with the latest version.