Replacing specific path by environment variable.