Updated PDF Script