Cool thanks for the advice. It's weird because the if/else statements in the tutorials aren't bracketed that way, but the script compiled and ran. Couple of errors I need to dig into, but at least the syntax error is gone.

Thanks for taking the time to post. Much appreciated.