Changed download method in download.file to be parameter
updated cosmic version