Moved domain into a DOMAIN variable