Add script for cleaning up orphaned data (initially only attribute data).