restructured to make the plugin much more configurable