def METHOD_NAME(self, pp: PostprocessedImage, args):
    for script in self.scripts_in_preferred_order():
        shared.state.job = script.name
        script_args = args[script.args_from:script.args_to]
        process_args = {}
        for (name, _component), value in zip(script.controls.items(), script_args):
            process_args[name] = value
        script.process(pp, **process_args)