expend the env vars from the path