Generalized and enhanced label/milestone management scripts