changed pretest to postinstall