Just ran the script with the code you gave and it works like a charm. I was running on the false thought that I had seen a script without braces.

Thanks!