Do not init the env entries with each call, as it creates too many calls to lstat, etc. Should speedup things a bit.
Changed paths: