Adding query path to config.