Updated stats page scrape for the page.open function to take an ID variable rather than a fixed URL