Update generateBranch.sh