Pipe for tee commands fixed