added save while downloading support