Fixed file outputs and scraping