Fixed a logical error in "if" statement and when adding domain a help output is shown.