scripts to clean so data, prune tables