Added support for importing existing private key