Added support for progressCallback