added in-script support for syntax customization and custom command support