cd command works almost flawlessly