Updates to scripting interface