Implemented script injecting.