added flush command line interface to scraper