Added read-only execution mode.