Make the module more configurable and change local domain name