added option to connect via a config file which makes this easier