swapped out hardcoded domains for document references