added function to easily edit hosts file