import os
import sys


mechanic_path = os.path.dirname(__file__)
lib_path = os.path.abspath(os.path.join(mechanic_path, "..", "packages"))
if lib_path not in sys.path:
    sys.path.append(lib_path)

@@ -117,16 +117,56 @@
 th, %22..%22
+))%0Apackages_path = os.path.join(lib_path
 , %22packa
@@ -174,16 +174,20 @@
 es%22)
-)
 %0Aif 
-lib
+packages
 _pat
@@ -225,18 +225,23 @@
 .append(
-lib
+packages
 _path)%0A

add another step to adding packages dir