add thumbnail generator script