old_contents: """
  Convenience module for debugging scripts.
  """
  
  # Since this script is intended to be used from the terminal, setup the
  # environment first so that django and model imports work.
  from util import setup_django_env
  setup_django_env()
  
  
  def main():
      pass
  
  if __name__ == '__main__':
      main()
  
new_contents: """
  Convenience module for debugging scripts.
  """
  import os
  import sys
  
  # Make this script runnable from command line.
  sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../'))
  os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
  
  from main.models import *
  from variants import materialized_view_manager
  
  def main():
      ref = ReferenceGenome.objects.get(alignmentgroup__uid='c359d2cf')
      mvm = materialized_view_manager.MeltedVariantMaterializedViewManager(ref)
      mvm.create()
  
  if __name__ == '__main__':
      main()
  
subject: Update script_debugger.py.