now using a config file