First draft of script to perform branch formatting.