Change path even in non-interactive mode