use curl to download bundle