Adding the wrapper for downloads