working on scripting support