changed log to scratch in leader