do not export comments unless global variable set
fix double comments
implement code to pass M1 and M2 targets