Chdir to correct dir