output to tee command