OpenWRT with Quectel EP06 initialization and connection

Anyone have her has some sort of experience with using OpenWRT with Quectel cellular module? I have a firmware (with the source code) that I am able to connect to Verizon cell network when I first program the correct APN. In the 3ginfo-lite section, it shows it is using protocol qmi. Thus I assume if I need customize the logic that how openwrt connect to the cellular network, the file to look and modify would be qmi.sh under the "/package/network/utils/uqmi/files/lib/netifd/proto" folder right?

What I am trying to do is by default, the configuration of the OpenWRT, for the APN, it is "blank" and that if is "blank" I am trying to hard code differetn APN to try base on the SIM number (or iccid number). Thus the first step I am trying to do is to modify the qmi.sh to set the APN to see if the router can connect. But so far it is not working. I do see the APN I set in the log, but when I do a "AT+CGDCONT?" to see a list of APN it is trying to use, it is not the apn I program. So it is almost to me that whatever the apn I set in the qmi.sh is not getting through?

So, for example, here is part of the qmi.sh code:

		uqmi -s -d "$device" -t 10000 --set-client-id wds,"$cid_4" --set-ip-family ipv4 > /dev/null 2>&1

		pdh_4=$(uqmi -s -d "$device" -t 10000 --set-client-id wds,"$cid_4" \
			--start-network \
			${apn:+--apn $apn} \
			${profile:+--profile $profile} \
			${auth:+--auth-type $auth} \
			${username:+--username $username} \
			${password:+--password $password} \
			${autoconnect:+--autoconnect})

And I simply set the apn = xxxx right before this line, but it seems it is not using it...

Am I looking at the wrong place? Is there other file that I should be looking at?

Pretty much if i program the APN using the Luci interface, it will connect, but when I leave it "blank" and try to hardcode in this qmi.sh, it doesn't work...

Thank you in advance!