String getScriptState(String plugin) { final data = getAsset(_scriptStatePath(plugin)); if (data == null) return '{}'; return utf8.decode(data); }