Added scripting capabilities