MESA for Maya 1.1: Correctly installed, error 'invalid flag '-flat''


My friend is currently trying to install MESA for maya (he has maya 13 64 bit). I’ve gone through how to install it with him, and checked all his file paths are right but this error comes up:
// Error: file: C:/Users/(My Friend’s Name)/Documents/maya/2013-x64/prefs/shelves/shelf_MESA_V1.mel line 32: Invalid flag ‘-flat’

I’ve already googled this issue, but haven’t had any luck. Has anyone gotten it working for Maya 2013 64?
If so, any help would be greatly appreciated.

Does anyone anyone know what’s wrong? Sorry for the bump.

try deleting that ‘-flat’ command from the shelf_MESA_V1.mel file using a text editor

Sorry for the bump, but after Rokay’s advice worked, I have run into yet another error.

// Error: file: C:/Program Files (x86)/Steam/steamapps/sourcemods/Source Code/mesa/smdExport.mel line 1111: unable to open C:\Program Files (x86)\Steam\steamapps\sourcemods\Source Code\scenes\props for write

The snippet of code that this error refers to is:

 int $fileHandle = `fopen $smdFileName "w"`;
if (!$fileHandle) 
error ("unable to open " + $smdFileName +  " for write");
return 0;

Has anyone actually gotten this thing to work?