Rework setting pluginpath