Initial modification of get_images.py