Apply mode and pluginOptions