Added $dbhost in config and header instead of hardcoded "localhost"