Added another line for gettiing the URL to see if I can fix the page loading problem--logs tell me this wasn't necessary though.