Please always use a main() function instead of putting things under the if statement.

http://google-styleguide.googlecode.com/svn/trunk/pyguide.html#Main