change plugindir var