Some updates to import_pmd.py and import_pmx.py