move local config out of plugins