This is some python script I wrote for personal use.