rewrite batch-download