Hello all, i'm trying to figure out what to modify in my kix script to execute a VB file.

Here are the contents of the VB script. Filename logonloop.vbs

On Error Resume Next
Dim winhttp
Set winhttp = CreateObject("WinHttp.WinHttpRequest.5.1")
Do While (True)
' Add the correct host name to the next line
winhttp.Open "GET", "http://smoothwall.test.org:814"
winhttp.SetAutoLogonPolicy(0)
winhttp.Send
WScript.Sleep 120000
Loop


Kix Script:
Gosub Smoothwall
?
:Smoothwall
shell "cscript.exe logonloop.vbs"

Please advise.