OK, the advanced DM script issue is solved!
It's better to close this discussion and open another - just about script itself! You have to provide script execution in UJKT... etc...
*FACTOR = USING/(TOTAL+0.00000001) - what do you mean by this???
Please read How To: Ask questions about Script Logic issues
Vadim