add support to pass direct url to downlaoder