Update generate_keys script.