- Added scripting features to simulator (incomplete, but working)