Added code for oculus plugin