Add socket scripts