Domain name building done too early

Defer it until after getopt loop