Added script for measuring the average temperature over a time interval