improved postinstall