Added code that does not output tee's stdout to the terminal