def METHOD_NAME():
    """ Run a bond scan for hydrogen peroxide with UFF. Returns the finished job """
    mol = from_smiles('OO') # hydrogen peroxide
    s = Settings()
    s.input.ams.Task = 'PESScan'
    s.input.ams.PESScan.ScanCoordinate.nPoints = 7
    # Scan O-O bond length (atoms 1 and 2) between 1.2 and 2.5 Å
    s.input.ams.PESScan.ScanCoordinate.Distance = '2 1 1.2 2.5'
    s.input.ForceField.Type = 'UFF'
    job = AMSJob(settings=s, molecule=mol, name='initial_pesscan')
    job.run()
    return job