to download images
modified for lettuce testing