Ah, hehe, missing bracket. And here I go trying to figure this out, thinking of all the technical stuff, and it's just a missing bracket. Of course. 
As far as not needing a {} block for single command, that's technically true. However, I have found that blocking code like that feels more organized and is easier to edit if future editing is needed. Then again, some people feel that it clutters their code. It's really the scripter's choice.

As far as not needing a {} block for single command, that's technically true. However, I have found that blocking code like that feels more organized and is easier to edit if future editing is needed. Then again, some people feel that it clutters their code. It's really the scripter's choice.