Use config instead core.config for plugins

Call config dict directly insteading use core.config