First temperature script, very rough