Use tools workdir to setup env