make the plugin script work