changed postinstall script