cfg.sh now also deals with jgroups.xml