working dir and envs