Sorry for sounding like a really big dummy, but I seem to be having some problems with a pretty basic script. I am needing to run a script that will allow me run sub-routines based on the subnet. Please see a segment of the script bellow ---

:MAIN

GOSUB time

if subnet(@ipaddress0,"10.13.0.0","255.255.248.0") = 1 GOSUB DO
if subnet(@ipaddress0,"10.13.8.0","255.255.248.0") = 1 GOSUB Franklin
if subnet(@ipaddress0,"10.13.16.0","255.255.248.0") = 1 GOSUB Hellyer
if subnet(@ipaddress0,"10.13.32.0","255.255.248.0") = 1 GOSUB Dahl
if subnet(@ipaddress0,"10.13.40.0","255.255.248.0") = 1 GOSUB Kennedy
if subnet(@ipaddress0,"10.13.48.0","255.255.248.0") = 1 GOSUB LosArboles
if subnet(@ipaddress0,"10.13.56.0","255.255.248.0") = 1 GOSUB Meadows
if subnet(@ipaddress0,"10.13.64.0","255.255.248.0") = 1 GOSUB McKinley
if subnet(@ipaddress0,"10.13.72.0","255.255.248.0") = 1 GOSUB Santee
if subnet(@ipaddress0,"10.13.80.0","255.255.248.0") = 1 GOSUB SevenTrees
if subnet(@ipaddress0,"10.13.88.0","255.255.248.0") = 1 GOSUB Stonegate
if subnet(@ipaddress0,"10.13.96.0","255.255.248.0") = 1 GOSUB Sylvandale
if subnet(@ipaddress0,"10.13.104.0","255.255.248.0") = 1 GOSUB Windmill


EXIT 0

:DO

IF INGROUP("SASI_XP") =1
use k: "\\fmsd8\sasixp"
ENDIF

IF INGROUP("Purchasing") =1
use L: "\\fmsd6\Purchase"
ENDIF

IF INGROUP ("Fiscal") = 1
use j: "\\fmsd6\business"
ENDIF

IF INGROUP ("Business") = 1
use j: "\\fmsd6\business"
ENDIF

IF INGROUP("INDP") = 1
use S: "\\fmsd6\indsasi"
ENDIF

IF INGROUP("Fiscal") = 1
use i: "\\fmsd6\fiscal"
ENDIF

USE H: @HOMESHR
USE G: @HOMESHR

.... And so one....

When running the script I receive and error as follows " faild to find/open script"

What am I doing wrong....