Added a scripting engine