Update to use config files