adding support for flatfish db on remote host