Started writing the wget script.

Started on the wget script.
Fixed bugs in clod.cmd.