That's the way to do it.do it once then it's right for a long time.
So the top area above them boxs will be sealed in and above will be dead area.like an attic ? a few of these be handy in the top of the outside walls under the roof edges.
Some nice fresh air will be able to get in then and release some of the hot air in summer.obviously close them in winter.