commented out old ordering stuff,changed file format to include new extension terms instead