Figured out why downloads were not working