Add script for regenerating thumbnail images.
Remove unused import.