Min and Heating Script