def METHOD_NAME(args):
  print(args)
  import iotbx.phil
  phil = iotbx.phil.process_command_line(args=args, master_string=master_phil).show()
  work_params = phil.work.extract()
  if work_params.show_plots is True:
    from matplotlib import pyplot as plt # special import
  return work_params