Add script to clean up datadirs