injected script re-works