Fix thumbnailer script