add join command generate