Bugfix: allow adding key via config file