Document PDF script