AO simulation integrating US and MC into single executable