Using domain variable instead of hardcoded $domain