Add sensorboard switch control variable and functions