Script to automatically download data