dont need to escape $ in heredocument, as vip_for_host should be run locally