Added script to produce the polynomial