I had a small python script for that somewhere... Of course I can't find it right now frown