Changed root domain and subdomain to be read from the command line.