Rating: 5 stars
Thank you, this was exactly what I was searching for, I almost resorted to writing my own but this does exactly what I needed.