more work on config file loading