use enablePlugins instead of addPlugins