modified renameBranch.sh script