added tstream.py