how can I tweak the genre script?

Hello all

I've been using the script to set the genre tag of my mp3 library, and it works great.
I'm looking for a way to automate it; right now, I have to go through each artist, run the script, confirm, go to next, so on so forth. What I would like to do is to select all artists, run the script and let it automatically accept it and go to the next.

Does anyone can suggest tweaks to the script source in order to behave like this or is it too complicated?

Thanks a lot!

That's not possible with the current interface.