work on loading config files