changing subdomain to customdomain and modding to use cases/search