Adding filter to just run Sensor for instances that are running