make command array