move redundancy into a config.yaml file; some other tweaks