Redid the system for command handling in the server application.