Added new subdomains
Separate SQL code