slightly fixed scrape_data_final and analyze_search