add auto-install and remove some dat files