updated to use the new ConfigFile library