adds scripting widget