Correctly initialize the plugin