Reorganized postinstall scripts.