created new script to get m2 header files