move config to keys