Updated regenerate nml1/2 script