Wrapped PWT download in to a function.