Thanks Silly-V, but I don't see what this has to do with my question. Am I missing something?
From doing a little research and testing I have found that my problem has to do with the variable set by the user prompt (board). But I am still not sure how to remedy the issue.
If the answer you posted is correct could you please explain why? I am still very new to illustrator scripting :-)
Thanks in advance.