You know, I did the same thing. Drove me NUTS for days trying to figure out what I did. My problem was the parentheses ’ from copy/pasted scripts and text file was different than the one entered via putty or the console. One of the tools I found invaluable was a code validator I found online

http://esprima.org/demo/validate.html

Try your MM Script in there to troubleshoot. Not sure if it will work with everything, but it worked for mine. I’ve done 5 mirrors with it.

Good Luck!