from maya import cmds, mel, utils def SuperRiggingInstallations(): if not cmds.about(batch=True): mel.eval("SGUpdatePlugin;") mel.eval("SGCreateMenuItem;") mel.eval("SGEnableJointOrient;") utils.executeDeferred(SuperRiggingInstallations)