old_contents: """A hook for modifying parameter values read from the WMT client."""
  
  import os
  import shutil
  
  from wmt.utils.hook import find_simulation_input_file, yaml_dump
  
  
  def execute(env):
      """Perform pre-stage tasks for running a component.
  
      Parameters
      ----------
      env : dict
        A dict of component parameter values from WMT.
  
      """
      env['time_to_run'] = int(env['_run_duration'])
      env['suffix'] = 'WMT'
      env['recording_interval'] = int(float(env['_run_duration'])
                                      / float(env['_output_interval']))
  
      for fname in file_list:
          src = find_simulation_input_file(env[fname])
          shutil.copy(src, os.curdir)
  
      yaml_dump('_env.yaml', env)
  
new_contents: """A hook for modifying parameter values read from the WMT client."""
  
  from wmt.utils.hook import yaml_dump
  
  
  def execute(env):
      """Perform pre-stage tasks for running a component.
  
      Parameters
      ----------
      env : dict
        A dict of component parameter values from WMT.
  
      """
      env['time_to_run'] = int(env['_run_duration'])
      env['suffix'] = 'WMT'
      env['recording_interval'] = int(float(env['_run_duration'])
                                      / float(env['_output_interval']))
  
      yaml_dump('_env.yaml', env)
  
subject: Pare unused code from BRaKE hook