          """ run removal """
          logger.info("[REMOVE ALIGNMENTS DATA]")  # Tidy up cli output
          del_count = 0
  
          iterator = self.alignments.yield_faces
          if self.type == "frames":
              iterator = list(item[3] for item in iterator())
  
          for item in tqdm(iterator() if self.type == "faces" else iterator,
                           desc="Processing alignments file",
 
</s> remove             iterator = list(item[3] for item in iterator())

        for item in tqdm(iterator() if self.type == "faces" else iterator,
                         desc="Processing alignments file",
                         total=self.alignments.frames_count):
            task = getattr(self, "remove_{}".format(self.type))
            del_count += task(item)
 </s> add             logger.debug("Removing Frames")
            for frame in tqdm(list(item[3] for item in self.alignments.yield_faces()),
                              desc="Removing Frames",
                              total=self.alignments.frames_count):
                del_count += task(frame)
        else:
            logger.debug("Removing Faces")
            del_count = task() </s> remove             self.rename_faces()
 </s> add             rename = Rename(self.alignments, None, self.items)
            rename.process() </s> remove         if self.alignments.file == "dfl":
 </s> add         if self.alignments.file == "dfl.json":
          """ run removal """
          logger.info("[REMOVE ALIGNMENTS DATA]")  # Tidy up cli output
          del_count = 0
  

          if self.type == "frames":
              iterator = list(item[3] for item in iterator())
  
          for item in tqdm(iterator() if self.type == "faces" else iterator,
                           desc="Processing alignments file",
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