added cli switch to run cosim