Adds script to head
Corrects function client_ip_address