Add download url function