Update logging and add temp checker