Fixed typo at line 65.

Script wouldn't work because there are no variables Winodw%num%.