altered CSV generator and added images to block