public static ScriptManager getInstance() { if (inst == null) inst = new ScriptManager(); return inst; }