added script to figure out how to get domain name