First upload of xgtovmi.py