Update lgcor.sh