Added documentation for scripting engine