--fixed-- cron to at least display result of query, updated script to upload switch setting to DB on query (should be on mismatch, but thats for another day)