add downloading data in the script