Thanks Shane, reviewing now and will test out shortly.

So to help my understand of what went wrong. Because I had the "no vars in string" setting to On, if I want to reference a script variable in a shell statement I need to "'++'" encapsulate them to be on the safe side?

thanks

Lan