export M2 and maybe fix path