moving the config to the plugin