Added db host as a configurable option.