Does userSetup.py actually execute on startup or is it just userSetup.mel? If so, you can try wrapping your python code in Code: python("command one; command two()"); And put that in userSetup.mel