Changed the way the max gists works

Also added a configurable amount of pages to scrape