scripts to run structural matrix generator