script for downloading the raw data