added autoremove setting