New SMELLIE code with TCPIP and changes