I could swear I've done scripts that did it direct...
# suitescript
k
I could swear I've done scripts that did it directly with line but I can't find them at the moment