added old pageName logic option to settings
added backwards compatibility logic for pageName