the above works fine when run from the console
# suitescript
j
the above works fine when run from the console