add states and tags to list of commands