record installed packages
updated style after reinstall