Added random image generation