Fix commands cwd