Fixed shell commands arg checks.