Update new script and add branches script