Changed hardcoding of domain