Script to device metrics