Adding viewport injection