Use curl for download since that integrates easier with atomic