added db_name parameter to config