Added dynamic substitution of plugin configuration directory.