Changed cwd segment maxdepth back to 6