EZP-23474: fix LegacyEmbedScriptCommand doesn't activate the LegacyBundles