Working download. Needs refactor
Merging