def METHOD_NAME(self, scripts_args):
    if not self.ui_created:
        with gr.Blocks(analytics_enabled=False):
            self.setup_ui()
    scripts = self.scripts_in_preferred_order()
    args = [None] * max([x.args_to for x in scripts])
    for script in scripts:
        script_args_dict = scripts_args.get(script.name, None)
        if script_args_dict is not None:
            for i, name in enumerate(script.controls):
                args[script.args_from + i] = script_args_dict.get(name, None)
    return args