Add script to create thumbnail from pdf.