supports older versions of rabbitmq requiring different envionment variables