fix shell command to use new input