Thanks - correct number as far as I can work out. Not a very elegant solution sadly......
I will post a photo of the rail less roof!