Patched with absolute path and support for new versions of docker