Added priority field for xml and framegenerator