temperature script graphing