Fix pipe_shell for *scratch*