tee output to out.txt