make relay and config mutually exlusive, add overlapping parameters to
config