Update shell commands to use the shell's stdin and out