verified and patched installer script