basic scripting support almost there