Running scrape function through command line now works