Add some logic to pick configurations based on frequencies