added maintenance scripts