updated for proper pdf build