Works great, modified it a little for my purposes.