Make the download url method more re-usable/overloadable