Setting execute mode.