add tcp support to automator