Exif variable is not global anymore