diff --git a/203.HCA/0_setup.py b/203.HCA/0_setup.py
index f7defd93837d41742c8049a6f65bba08cab30d1c..6792b7e38ef630c4b1ed8ee5cdd146faca2d4314 100644
--- a/203.HCA/0_setup.py
+++ b/203.HCA/0_setup.py
@@ -1,5 +1,7 @@
 #!/usr/bin/python3
 # -*- coding: utf-8 -*-
+import os
+
 import utils
 
 
diff --git a/5.Wowza/0_setup.py b/5.Wowza/0_setup.py
index 4c603f13f38e3a415661355a705ea1bd72954f8d..a1ca4691450fbe23610364234e50856cd6576909 100644
--- a/5.Wowza/0_setup.py
+++ b/5.Wowza/0_setup.py
@@ -33,6 +33,14 @@ def setup(interactive=True):
         '/etc/init.d/WowzaStreamingEngine restart',
         '/etc/init.d/WowzaStreamingEngineManager restart',
     ]
+    ms_conf = '/etc/mediaserver/lives_conf.py'
+    if os.path.exists(ms_conf):
+        utils.log('The file "%s" already exists, it will not be changed.' % ms_conf)
+    else:
+        cmds.extend([
+            'mkdir -p /etc/mediaserver',
+            'echo "RTMP_PWD = \'%s\'" > %s' % (utils.get_conf('WOWZA_LIVE_PWD'), ms_conf),
+        ])
     if utils.get_conf('WOWZA_SERVER_NAME'):
         cmds.append('mkdir -p /var/www/streaming')
     if os.path.exists('/home/ftp/storage/www'):