add select all to ScriptFragment