Looking at my pods logs I’m seeing the following. I’m not sure why the sed command is failing or if this is the cause of the other errors stating “global name 'm2ee' is not defined” Any help would be appreciated, here is the log: INFO: Setting CF_INSTANCE_INDEX to 0 based on hostname mendix-k8s-stateful-0 INFO: Started Mendix Cloud Foundry Buildpack v1.7.3 sed: -e expression #1, char 94: unterminated `s' command Traceback (most recent call last): File "/build/start.py", line 975, in <module> pre_process_m2ee_yaml() File "/build/start.py", line 60, in pre_process_m2ee_yaml '.local/m2ee.yaml' File "/usr/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['sed', '-i', 's|BUILD_PATH|/build|g; s|RUNTIME_PORT|81|; s|ADMIN_PORT|82|; s|ADMIN_PASSWORD|xxxxxxxxxx\r\n|', '.local/m2ee.yaml']' returned non-zero exit status 1 Error in atexit._run_exitfuncs: Traceback (most recent call last): INFO: stopping app... File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/build/start.py", line 811, in terminate_process if not m2ee.stop(): NameError: global name 'm2ee' is not defined Error in sys.exitfunc: Traceback (most recent call last): File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/build/start.py", line 811, in terminate_process if not m2ee.stop(): NameError: global name 'm2ee' is not defined Thanks!