mrmacca: could you please turn on the Script->Show Line Numbers (in the script editor) and try to run it again. Then paste the error with the line number so I can debug this better. Oh, and which maya version and os are you using?