Add dnt_enabled config

This includes the commit from PR #30 so that the tests would pass.
Use `&&` instead of `and`.