added regenerate thumbnails