def METHOD_NAME(command_line_config, user_config):
    if not user_config:
        user_config = get_user_config_from_command_line(command_line_config)
    # maybe switch to another runscript, if iterative coupling
    user_config["general"]["iterative_coupled_model"] = ""
    if user_config["general"].get("iterative_coupling", False):
        user_config = chunky_parts.setup_correct_chunk_config(user_config)
        if len(user_config["general"]["original_config"]["general"]["model_queue"]) > 1:
            next_model = user_config["general"]["original_config"]["general"][
                "model_queue"
            ][1]
        else:
            next_model = user_config["general"]["original_config"]["general"][
                "model_queue"
            ][0]
        scriptname = user_config["general"]["original_config"][next_model]["runscript"]
        # command_line_config["scriptname"] = os.path.join(user_config["general"]["started_from"], scriptname)
        new_command_line_config = copy.deepcopy(command_line_config)
        new_command_line_config["scriptname"] = scriptname
        new_command_line_config["runscript_abspath"] = os.path.join(
            os.getcwd(), scriptname
        )
        model_config = get_user_config_from_command_line(new_command_line_config)
        user_config = esm_parser.new_deep_update(user_config, model_config)
        # Set the ``iterative_coupled_model`` string, to add the model name to the
        # run_ folder, finished_config.yaml, etc., to avoid overwritting with the
        # files of other offline coupled models
        user_config["general"]["iterative_coupled_model"] = (
            f"{user_config['general']['setup_name']}_"
        )
        # Extract information about the models run in the previous chunk
        chunky_parts.prev_chunk_info(user_config)
    if user_config["general"].get("debug_obj_init", False):
        pdb.set_trace()
    return user_config