fixed error in ScriptingContext object and extended AtomDict class