Re-enabled caching of images. Fixed log path.