sorry for missing the extra % but was typing it and never ran it.

Adjust your code per suggestion by Richard and let us know how it goes.