Update upload_key_to_server

Extract key using init-Script