new_contents: import django
  import os
  import yaml
  from backend.settings import BASE_DIR
  
  os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'backend.settings')
  django.setup()
  
  from breach.models import Target
  
  
  def create_target(target):
      t = Target(
          endpoint=target['endpoint'],
          prefix=target['prefix'],
          alphabet=target['alphabet'],
          secretlength=target['secretlength'],
          alignmentalphabet=target['alignmentalphabet'],
          recordscardinality=target['recordscardinality']
      )
      t.save()
      print '''Created Target:
               \tendpoint: {}
               \tprefix: {}
               \talphabet: {}
               \tsecretlength: {}
               \talignmentalphabet: {}
               \trecordscardinality'''.format(
                  t.endpoint,
                  t.prefix,
                  t.alphabet,
                  t.secretlength,
                  t.alignmentalphabet,
                  t.recordscardinality
              )
  
  if __name__ == '__main__':
      try:
          with open(os.path.join(BASE_DIR, 'target_config.yml'), 'r') as ymlconf:
              cfg = yaml.load(ymlconf)
      except IOError, err:
          print 'IOError: %s' % err
          exit(1)
      targets = cfg.values()
  
      for target in targets:
          create_target(target)
  
subject: Add targets' population script