Adding scripting