changes for connecting to Remote DB