nbpcg script updated to latest standard and all generated files recreated.