Modifications to "braid_script.rb" intended to better allow for it to be run in parallel