Finish layout and pages