CFY-1500 use process_attributes function