BUGFIX: actually use db_conf everywhere