Give TCP scripts modern command line and structure