More:
Specifying XNG or SNG/SMNG When Running a Script
Scripting Manual Conventions
XNG Commands
SNG Commands