diff --git a/index.js b/index.js
index 54c8a47..e9ba909 100644
--- a/index.js
+++ b/index.js
@@ -1,6 +1,10 @@
-var iniparser = require('iniparser');
+var fs = require('fs');
+var ini = require('ini');
 var expresso = require('sate24-expresso');
-var config = iniparser.parseSync('./config.ini');
+var config = ini.parse(fs.readFileSync(__dirname + '/config.ini', 'utf-8'));
+
+//var iniparser = require('iniparser');
+//var config = iniparser.parseSync('./config.ini');
 
 var aaaHost = config.globals.aaa_host;
 
diff --git a/package.json b/package.json
index 00104ae..720e37c 100644
--- a/package.json
+++ b/package.json
@@ -24,7 +24,6 @@
     "mocha": "~2.2.5",
     "request": "~2.57.0",
     "strftime": "~0.9.2",
-    "iniparser": "~1.0.5",
     "mathjs": "~1.7.0",
     "xmlrpc": "~1.3.1",
     "xml2js": "~0.4.9",
@@ -32,6 +31,7 @@
     "node-simple-router": "~0.9.4-2",
     "sate24": "git+http://git@gitlab.kodesumber.com/reload97/node-sate24.git",
     "winston": "~1.0.1",
-    "sate24-expresso": "git+http://gitlab.kodesumber.com/reload97/sate24-expresso.git"
+    "sate24-expresso": "git+http://gitlab.kodesumber.com/reload97/sate24-expresso.git",
+    "ini": "~1.3.4"
   }
 }