Check config paths better
Make trace configurable