Thanks r-senior that makes sense.
I will try to remember this (] with spacing) as sometimes I edit scripts that closely match what I want but not quite.