added tmx and agenttmux

These two scripts should really be merged into one.