Improved documentation for tg.sh