Fixed bash scripts to read xml file
added gen config file