[modify] modify download tool to function.

Signed-off-by: Cedar Li <china.cedar.li@gmail.com>