Rebuild PDF manual and improved script format