#!/usr/bin/env python
import os
import sys

from django.core.management import execute_from_command_line

from wger.main import get_user_config_path, setup_django_environment

if __name__ == "__main__":
    setup_django_environment(
        get_user_config_path('wger', 'settings.py'))
        
    #os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wger.workout_manager.settings")

    execute_from_command_line(sys.argv)

@@ -19,18 +19,8 @@
 hon%0A
-import os%0A
 impo
@@ -99,16 +99,22 @@
 om wger.
+utils.
 main imp
@@ -121,29 +121,13 @@
 ort 
-get_user_config_path,
+(%0A   
  set
@@ -147,16 +147,44 @@
 ironment
+,%0A    get_user_config_path%0A)
 %0A%0Aif __n

Change imports of helper functions