added sweep_images.py