          """ If faces argument is specified, load faces_dir
              otherwise return None """
          if not hasattr(arguments, "faces_dir") or not arguments.faces_dir:
              return None
          return Faces(arguments.faces_dir)
  
      def process(self):
          """ Execute the sort process """
          logger.info("[SORT INDEXES]")  # Tidy up cli output
          self.check_rotated()
 
</s> remove     @staticmethod
    def get_faces(arguments):
 </s> add     def get_faces(self, arguments): </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.child_process and not rotated and not no_dims:
 </s> add         hashes = self.alignments.get_legacy_no_hashes()
        if (not self.frames or (not no_dims and not rotated)) and (not self.faces or not hashes): </s> remove         legacy = Legacy(self.alignments, self.arguments,
                        frames=self.frames, child_process=True)
 </s> add         legacy = Legacy(self.alignments, None, frames=self.frames, child_process=True)
        faces = Faces(arguments.faces_dir)
        legacy = Legacy(self.alignments, None, faces=faces, child_process=True)
        legacy.process()
        return faces
          """ If faces argument is specified, load faces_dir
              otherwise return None """
          if not hasattr(arguments, "faces_dir") or not arguments.faces_dir:
              return None
        faces = Faces(arguments.faces_dir)
        legacy = Legacy(self.alignments, None, faces=faces, child_process=True)
        legacy.process()
        return faces
  
      def process(self):
          """ Execute the sort process """
          logger.info("[SORT INDEXES]")  # Tidy up cli output
          self.check_rotated()
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 
tools/lib_alignments/jobs.py