FIX: correctly build download command line