Don't generate pdf on servers