Output append replaced with tee