moving db host into config