Updated bash script to include config.xml file