/** Creates a new instance of Scripted */
public Scripted(Framework framework) {
_framework = framework;
_som = new ScriptedObjectModel(_framework, this);
_wrapper = new FrameworkModelWrapper(_framework.getModel());
try {
String defaultScript = Preferences.getPreference("Scripted.script");
if (defaultScript != null && !defaultScript.equals("")) {
loadScript(new File(defaultScript));
} else {