a few comments explaining the plugin, and changed the default setting logic