tweaking haproxy script for x-compat