Added support for init indata to Task