Use new before_exec option if present.