Updated cmd_dispatch; Worked on cmd_moduledocument