Added pubsnumber replacement back into the builder.