script to create the thumbnail
script to create the thumbnail