Replace shellcmd calls with direct calls to other commands.