can't use nconf. __dirname not supported