added direct HMD loading support