Added capture_images