rewrite example data download script