Hi,
I didn't understand why you set the DS_COMPLEX data source Load in Script to true?
You don't have to do this to use the script that I mentioned.
But if you are loading the data source in script then of course you will have to explicitly load the data source in startup using the loadDataSource() function before you could use the data source.
Regards,
Swapnil Koti