make the plugin work correctly when called from UsefulIdiot, also, add bare bones documentation for plugin