initial swizch to config file