PDF functionality working again, no direct-download