added command structures to the data sent.