Fix variable reference deprecation warning

Fixes warnings like 'Warning: Variable access via 'domainname' is deprecated. Use '@domainname' instead.'