Added local host check