Added Oxygen code to get pluginInstallDir.