The big thing I wanted to point out in showing those faqs is, most UDFs are to be considered a black box, that you don't edit. You use them in your scripts, as is, to obtain the information you need.

I've been beyond backed up, but I will try to put together a framework for you to do what you want.