script to download data