Fixes 3-year old code to work minus file saving
Fixes three-year old code minus downloading files