Change scope lookup for db_config