Update lag_custom.sh

cleanups.