Added an extended usage, and ability to pass remote IP argument.