refactored dinesafe_scraper with archive_directory