working on changing to new config file format