Update to use a config file