Add script to check if TIF files are valid