replace absolute path with env var