set autochdir if only it exists