add log support, add group support, add reference csv