Adding scripting support