Now first downloads the jar file to a temp file so that we do not create any directories until we're sure we can download the file