Add Command transmission function