move the splitting of the commands from the server to the client