added config and public key