adds the generation of config queries