updated comparison script to reflect use of new Type attribute