Update install script to remove unused files after installation