updated bootstrap script so that keygen repeats until it gets the right code