      def _load_align(aligner, configfile, normalize_method):
          """ Set global arguments and load aligner plugin """
          aligner_name = aligner.replace("-", "_").lower()
          logger.debug("Loading Aligner: '%s'", aligner_name)
          aligner = PluginLoader.get_aligner(aligner_name)(configfile=configfile,
                                                           normalize_method=normalize_method)
          return aligner
  
 
</s> remove     def _load_mask(masker, configfile):
 </s> add     def _load_mask(masker, image_is_aligned, configfile): </s> remove         masker = PluginLoader.get_masker(masker_name)(configfile=configfile)
 </s> add         masker = PluginLoader.get_masker(masker_name)(image_is_aligned=image_is_aligned,
                                                      configfile=configfile)
        if aligner is None or aligner.lower() == "none":
            logger.debug("No aligner selected. Returning None")
            return None
      def _load_align(aligner, configfile, normalize_method):
          """ Set global arguments and load aligner plugin """
        if aligner is None or aligner.lower() == "none":
            logger.debug("No aligner selected. Returning None")
            return None
          aligner_name = aligner.replace("-", "_").lower()
          logger.debug("Loading Aligner: '%s'", aligner_name)
          aligner = PluginLoader.get_aligner(aligner_name)(configfile=configfile,
                                                           normalize_method=normalize_method)
          return aligner
  
keep add keep keep keep keep keep keep
 Extract - Mask updates

- Remove none mask plugin
- Make pipeline more flexible
- Add support for pre-aligned faces to masker plugin
- Migrate blur and threshold settings to mask output 
plugins/extract/pipeline.py