added random image setting