Update lgsm-check.sh