blah just edited this script a bit and published it to github, because i can