Comfig refinement