I had found this application somewhere (no idea where, I didn't make it), but it's well written so I figured I'll post it:afrog: