Add queries_from_config to profile