Make the number of runs be a prompt instead of in the code
Change search URL to have one less param
Refactor for better var names