Update sed to perl in setup_configs.sh