Besides that you can set different data connections in the same script:
1- connect to one data source,
2- load data rom that data source
3- connect to other data source
4- load data from that other data source
Sometimes a new app is created when you want to split historical data and actual data, in this case different apps are created. There is the option to use binary loads to join all data in one app, using another app as data source.