moving parts of the config into the config file