finally got my MML macro replacing function working so I don't have to do it by hand.