Fix tiff script.