Author: Tomasz Maka <pasp@ll.pl> Borrowed code: wmMand-1.0 Mike Henderson <mghenderson@lanl.gov>