Change base directory