Example: set path dir automatically