alter config based on host