modified scripts to utilize MeshFactory