Added random image creation.