added config options for remote connections