Changed how the download/upload pdf works