added options when using remote db