modified to remove some code and get the webpage to load. Not yet working 100 %