I do like this script, it's pretty simple and basic set up.
The only thing I dislike it the way it stores the info... By setting it as variables.
In my opinion you should avoid having long lists of variables in your variable window.

How would you make a version using hash tables?