Log when injecting script