add m2h.py command line tool