Replaced local http calls with exitNode calls