updated Thumbnails script