user refinement may request refinement either by setting cg%refinemap or by cg%refine_flags%refine - no need to set both of them