dot-udfEnvSet function

Setup the UDF environment (for querying user defined funtions)