Auto delete initial

Adds an auto-delete routine. This PR is still very naive, it doesn't handle the case where users make a change that we probably do not want to overwrite.