Please refer the script to change the default search of google chrome to google.co.uk using proxy settings
Note:
1)In proxy_IP give your proxy address
2)In proxy_port give your port number for the proxy address
3)In proxy_except give the ip addresses you want to exclude use semicolon(;) to separate multiple entries.
4) System will restart at end for applying changes.
Please run this script as logged in user