It sounds like the syntax error is related to your script, not how you're calling it. "sphere;" would be the proper command.