updated injected to interface with restyling plugin