set keys in config file