take atcDir as an env var