          Utils.set_verbosity()
  #        queue_manager.debug_monitor(1)
          self.threaded_io("load")
          save_thread = self.threaded_io("save")
          self.run_extraction(save_thread)
          self.alignments.save()
          Utils.finalize(self.images.images_found,
                         self.alignments.faces_count,
                         self.verify_output)
  
 
</s> remove         if self.alignments.file == "dfl":
 </s> add         if self.alignments.file == "dfl.json": </s> remove             self.alignments.file = self.alignments.get_location(
                self.faces.folder,
                "alignments")
 </s> add             self.alignments.file = self.alignments.get_location(self.faces.folder, "alignments") </s> remove         self.check_rotated()
        self.reindex_faces()
        self.alignments.save()

    def check_rotated(self):
 </s> add         self.check_legacy()
        reindexed = self.reindex_faces()
        if reindexed:
            self.alignments.save()
        if self.faces:
            rename = Rename(self.alignments, None, self.faces)
            rename.process()

    def check_legacy(self): </s> remove         if self.export_face:
            save_queue.put("EOF")
        save_thread.join()
 </s> add         save_queue.put("EOF")
        self.run_extraction()
        save_thread.join()
          Utils.set_verbosity()
  #        queue_manager.debug_monitor(1)
          self.threaded_io("load")
          save_thread = self.threaded_io("save")
        self.run_extraction()
        save_thread.join()
          self.alignments.save()
          Utils.finalize(self.images.images_found,
                         self.alignments.faces_count,
                         self.verify_output)
  
keep keep keep keep replace keep keep keep keep keep
 Add Face Hashes to Alignments (#550)

* Convert main scripts to use face hashes

* Alignment tool: Use hashes, add logging, add face rename function

* More logging. Update Manual tool to work with hashing 
scripts/extract.py