run simulation from gui