add command to dict