revamped how commands are handled, updated how items are handled