changed the logs and batch