@alien4u I did a look up and tried to use the result, the script failed because the result of the lookup was the id of the location on the IF and failed because it said there was no value specified. Confused I logged the value before using it and low and behold it has a value and the script worked flawlessly thereafter.