Refine settings