final (hopefully) update to the mml script