fix postintall script