Added new config vars, defaultDir, privateKeyPath and publicKeyPath