prep db for remote use