Script with variable of the measured power