script for data downlad