working on changing directory with chdir()