Added priority and class to config