added version argument to shell