fixed script so parm phys sem model table output correctly