added dynamic host name for d3 script