support --download-only; fix db2 driver upgrade mode