Update branch cutting script