diff --git a/README.md b/README.md
index ce53f9e..a0d5669 100644
--- a/README.md
+++ b/README.md
@@ -3,9 +3,10 @@
Multilang is a Jellyfin plugin that lets different users see different metadata
languages without changing Jellyfin's stored metadata.
-The `main` branch is built for the Jellyfin 10.11.x stable series. The
-`jellyfin12` branch targets Jellyfin 12.0 stable on Linux x64. The plugin remains
-beta software.
+Multilang targets Jellyfin 12.x on Linux x64 and is tested on Jellyfin 12.2.
+Development continues on the `main` branch. The final Jellyfin 10.11 release
+is 0.2.6; its source is archived on `jellyfin10` and is no longer maintained.
+The plugin remains beta software.
## Upgrading to 0.2.5 or 0.3.4
diff --git a/src/Jellyfin.Plugin.Multilang/AssemblyInfo.cs b/src/Jellyfin.Plugin.Multilang/AssemblyInfo.cs
new file mode 100644
index 0000000..b1d0e82
--- /dev/null
+++ b/src/Jellyfin.Plugin.Multilang/AssemblyInfo.cs
@@ -0,0 +1,3 @@
+using System.Runtime.CompilerServices;
+
+[assembly: InternalsVisibleTo("Jellyfin.Plugin.Multilang.Tests")]
diff --git a/src/Jellyfin.Plugin.Multilang/Jellyfin.Plugin.Multilang.csproj b/src/Jellyfin.Plugin.Multilang/Jellyfin.Plugin.Multilang.csproj
index 44d9e2f..3d395e8 100644
--- a/src/Jellyfin.Plugin.Multilang/Jellyfin.Plugin.Multilang.csproj
+++ b/src/Jellyfin.Plugin.Multilang/Jellyfin.Plugin.Multilang.csproj
@@ -7,9 +7,9 @@
enable
enable
false
- 0.3.4
- 0.3.4.0
- 0.3.4.0
+ 0.3.5
+ 0.3.5.0
+ 0.3.5.0
ajp_anton
diff --git a/src/Jellyfin.Plugin.Multilang/Services/Injection/WebScriptInjector.cs b/src/Jellyfin.Plugin.Multilang/Services/Injection/WebScriptInjector.cs
index 49bd829..47931ae 100644
--- a/src/Jellyfin.Plugin.Multilang/Services/Injection/WebScriptInjector.cs
+++ b/src/Jellyfin.Plugin.Multilang/Services/Injection/WebScriptInjector.cs
@@ -20,22 +20,25 @@ internal static class WebScriptInjector
return false;
}
- var content = File.ReadAllText(indexPath);
- var block = $"{StartComment}\n{scriptTag}\n{EndComment}\n";
- if (content.Contains(block, StringComparison.Ordinal))
- return false;
-
- content = RemoveOldBlock(content);
- var insertAt = content.IndexOf("