add a plugin and remove some unused config