Now downloads the files instead of just outputing to console