Changed download to use curl exec