Refine configs