Why is this construction script executing twice?

Not sure if it is just me, but I can’t get the attached image to be any larger, making it impossible see the nodes. I probably can’t help with your problem, but just pointing that out.