Added support for downloading result