Over half of hotels in DB, writing connection functions now