Anagram script updated to hopefully fix a bug.