Added function to specify crawl limit