Some added comments, fix usage for env shell.