update check-cs.sh to automate check unused use