Meshing script has been tested and the modifications work now.