added testing m2r via cmd line