add check-sm.sh to check an SM repo