Modify command marshalling process in simobj.py and change the return value of 'detectEntities'.