a small python 2.4 script we use at work