temperature script compatible with Hobbit