Added support for $dbhost instead of hardcoded "localhost"

Kapish?