Updated postinstall script