Changed syntax if FOR statement
Tweak to FOR syntax
Removed brackets from UNHNADLED message