old_contents: #!/usr/bin/env python
  from utils import logging, build_metrics, build_diamond
  if __name__ == '__main__':
      logging.info('build metrics...')
      metrics = build_metrics()
      logging.info('build diamond...')
      build_diamond(metrics)
  
new_contents: #!/usr/bin/env python
  from utils import logging, build_metrics, build_diamond
  if __name__ == '__main__':
      metrics = build_metrics()
      build_diamond(metrics)
  
subject: drop output