COMMENT: Refine settings and add them into the attributes