added custom ctl so i can stop the simulation using injected code