Proper scopts.
Convert grammar to NDF, added more file exts.