use the correct directory