Added DesiredTemp functionality and some minor modifications