Delete the old ScriptEngine, Added a document