diff --git a/packages/wine.sh b/packages/wine.sh
index 0194a92ab8e4078f95b9c1c214abcfd40d38c2c3..7febf68e7e0a908acff5404424f1a2ba9e2d5b77 100755
--- a/packages/wine.sh
+++ b/packages/wine.sh
@@ -30,7 +30,7 @@ then
         win10
 
     echo " *** PYTHON INSTALL"
-    if [ ! -f $WINEPREFIX/drive_c/Program Files/Python38/python.exe ];
+    if [ ! -f "$WINEPREFIX/drive_c/Program Files/Python38/python.exe" ];
     then
         #DISPLAY=:42.0 wine cmd /c python-3.8.10-amd64.exe /quiet PrependPath=1
         wine cmd /c python-3.8.10-amd64.exe PrependPath=1
diff --git a/src/config.py b/src/config.py
index 66d9139626697dc719d9f7a43e4032c6e78b6b32..24ebebe987ab931887fc02c53da5eba4c29d118c 100644
--- a/src/config.py
+++ b/src/config.py
@@ -19,6 +19,8 @@ class Config(SQL):
         self.filename = Config.filename()
         self.set_default_value()
 
+        print(self.filename)
+
         super(Config, self).__init__(filename = self.filename)
 
     def _create(self):
@@ -239,7 +241,9 @@ class Config(SQL):
         if os.name == 'posix':
             file = os.path.expanduser('~') + config_dir + config_file
         else:
-            file = os.path.expanduser('~') + config_file
+            ndir = os.path.expanduser('~') + config_dir.replace("/", "\\")
+            os.makedirs(ndir, exist_ok = True)
+            file = ndir + config_file
 
         return file