Use export/2 attribute and allow custom domains