update 'ts' script

add help text and simplify some logic
add back GOROOT for mordecai host
remove old todo config