Added url and baseurl
added baseurl in if page.url statement