Correct plugindir fn call