trying to get directory envs to work