I've used the very primitive MEL script (parent -r -s) in an older version, but with 2013 I get this error:
# Error: NameError: name 'parent' is not defined.
Is there a new command for this?
sounds like your executing the mel script in python.