Added option to enable/disable subdomain redirects