Remove auto-close plugin and add simple config instead