adapted script so that UUIDs are always lowercased