Use curl instead of wget so we wait for download to finish properly, verbose, and follow redirect.