script cooked up at the july 2 ruby hack night