Changing some function vars to local vars
Changed some function vars to locals
Changed server address (ipv4 / ipv6)
Gentoo server change