adding cname and a few changes