Updating script to handle scraping better and updating images.