Updated temperature script