add protocol to host in exit.js