now using a config file to specify the connection settings