Run only once in automatic mode

I have the following graph where I want to change the location of the building. All of our buildings in the project got shifted by X amount and manually I would click on the basepoint and type the new elevation with “Specify Coordinates at Point”.
I will run the dynamo script as a batch so it has to be on “Automatic” to execute.

My issue is this graph goes into an infinite loop with the two Orchid nodes when I unfreeze the last one. I would like to have this graph in Automatic but only run once. How is it possible to do so?

Its dumb but when I put a code block node with a simple X variable between the two orchid nodes it no longer runs in infinite loop… ? I dont understand why but seems like this is working :slight_smile: