tweak to work with env dir as sym-link