GE865 Cannot Run Python Script

Trying to run a simple Python script on a Telit GE865 module. I can download, set it to the current script and it will not execute.

Here is the script:

import MDM

import MOD

import GPIO

GPIO.setIOdir(1,1,1)

i = 100

while i > 0 :

GPIO.setIOvalue(1,1)

MOD.sleep(15)

GPIO.setIOvalue(1,0)

MOD.sleep(15)

i = i + 1

I can drive the GPIO from the AT command, but the script just does not run.

Help Please.