fixed bug where config files were not reading