add ability to enable/disable automatic styling, add ability to use custom cache for images