Add script to regenerate pubkey from private key file