Change type of command