Might be easier just to create 3 separate function...
# suitescript
k
Might be easier just to create 3 separate functions within the main function.