Add simulationEnabled check