remove branches script