Setting SMTP servers by location

Today, I manually changed SMTP servers for my accounts in Mac OS X's for the last time. Using this cool script as a model, I now have a script that sets specific SMTP servers for specific accounts based on the name of the Airport network I'm currently connected to. Now, all I have to do when I change locations is run the script, which I can do in 1 second by using Quicksilver. I love making my computer use more efficient!