scm maintenance scripts