added command functionality for the HW UI