Visual Basic scripts used by the XO project provided courtesy of Peter McCullough.