#print __name__
#from startup import *

is_panel = get_exec_pars().source != CommandSource.ui  #Must be checked before callin "run"

#time.sleep(4)
print is_panel, get_exec_pars().source
ret = []

for i in range(10):    
    ret.extend([i])
print "OK"

#raise Exception("test ex")
set_return(ret)
