Adding a way to pass the string for base domain