Still need the HAPROXY_ENV

So it is moved up, double code and not nice, will be tweaked...