script to download images and store them in a local drive