Device script can now produce measurements.