Updating the config reading code.