Add getData functionality to script
Merge pull request #863 from eordano/feature/getData

Add getData functionality to script