use env variable instead of path