Make the plugin functional