Modified to download sample images from a server