update bash_profile and fix private.xml file