Change command to array type