small changes
file downloads almost done