Add auto remove settings. fixed #13