Thanks Daniel, I have looked at that so many times and not noticed the missing > 0 and
because it always looped RTPengine in I didn't see anything out of place...
I did check the path it executed with debug logging which led me to this point, so I am
happy I am on top of the issue
Again, thanks for your help. I will let you know if this resolves the issues.
Lewis