Modify API to eliminate option of "flag"
Add maestx to cooperate PCS
Change batch file to perform Monte Carlo simulation