modified list_images.sh for correct format