add config variables for pruning and the cleaning of directories on startup