add script to check unused data