MHN.py Reformatting