modified to accept install prompt