added CNAME file, added console log function