i am having trouble getting KIX to map my drives.

here is a bit of my script, but i cant seem to get it to map the drives

;---Ip address Variables---
BREAK ON
$1st=TRIM(SPLIT(@IPADDRESS0,'.')[0])
$2nd=TRIM(SPLIT(@IPADDRESS0,'.')[1])
$3rd=TRIM(SPLIT(@IPADDRESS0,'.')[2])
$4th=TRIM(SPLIT(@IPADDRESS0,'.')[3])



IF $3rd = 0
"Setting Borehamwood Drive Mappings"
use G: '\\millen\g_drive\'
use H: '\\millen\_root\'
use P: '\\millen\@USERID\'
Exit
Endif

IF $3rd = 1
"Setting Alconbury Drive Mappings"
use G: "\\titania\g_drive\"
use H: '\\titania\_root\'
use P: '\\titania\@USERID\'
Exit
Endif

any help greatly appreciated