Change dir and title