Scripts for SDE maintenance