Can you have a function within a function or should I create a separate script with the UDF code in it and call the UDF from within my main script ?

Grasshopper75