init the plugin