New green code spells out thermal requirement for roof retrofits