Adding utility to generate random image