Junctions to walls extending above the perimeter of the roof