Changed osme stuff from the page generator