if 'message' in action:
      output.write(action['message'])
    else:
      output.write(action_target_name)