Changes for branch chooser/dropdown from Katie @ Cyberwoven.