changing method of initializing config files