Created a script to create m files