Fixed scriptDataGatherer to not infinitely recursively merge