Added some incomplete sim engine run logic