Adding private key to node when present