Removed junk priority agent code