added sim script and results printing