Fix bug in get_key
Further work on the flash utility