updated subdomain script