Make main template top and bottom to include