updated list_images.py