now this script recreates the thumbnail file