add sql logging
disable history reporting
add a map