added tolower as some domain names are in caps