updates to cmd_dispatch and cmd_moduledocument

to make sure commands dispatch correctly
testing in comment area