Replace isOnDomain with shouldDownload