move config to top level