Made thumbnails path configurable