implemented getTaskData
Added support for sub runs