minor improvements
try harder to get right conf directory