Change import privatekey function