pdf and script