removed debug option
Added queries for sensors