added tgs build script