update page gen script to capital case title correctly