Added state / power / reset and force commands code