Unfortunately it is a custom script file not attached to a record or deployment, just uploaded with the ide. What a pain. It works as is I wanted to add the promise so it wasnt page blocking while doing its thing. I have tried editing around other times without much luck. Sometimes NS can be so frustrating.