Add feature to delete remnants of old databases