add core to plugin config