Reworked the command system.